/*
 * @Author: Robin
 * @Date: 2020/6/29 17:58
 * @LastEditors: Robin
 * @LastEditTime: 2020/6/29 17:58
 * @Description: 字节数组转float
 */
package main

import (
	"encoding/binary"
	"fmt"
	"math"
)

func main() {
	byts := []byte{0x43, 0x43, 0x85, 0xFE}
	bits := binary.BigEndian.Uint32(byts)
	fmt.Println(math.Float32frombits(bits))
}
